<?php

class ParameterInvalidException extends \BaseException{

    public function __construct($message = null){
        $exception = Config::get('exceptions.system.parameterInvalid');
        if(is_null($message)){
            $message = $exception['message'];
        }
        parent::__construct($message, $exception['code']);
    }
}
